
:root {
  /* 自定义样式 */
  --theme-primary: #03a87c;
  --theme-primary-light: #03a87c10;
  --theme-background: #fff;

  --theme-text: #212121;
  --theme-text-light: #757575;
  --theme-text-dark: #292929;

  --theme-comparison: #ff7222;
  --theme-secondary: #1a8917;
  --theme-error: #e74c3c;
  --theme-error-light: #e74c3c10;
  --theme-notificationRed: #e74c3c;

  --theme-borderColor: #e6e6e6;
  --theme-projectBorder: #03a87c;
  --theme-writingsBorder: #9c27b0;

  --theme-systemAidBorder: #ff9800;

  --theme-statusDraft: #f8f9fa;
  --theme-statusInProgress: #e3f2fd;
  --theme-statusReview: #fff8e1;
  --theme-statusCompleted: #e8f5e9;
  --theme-statusInProgressText: #1976d2;
  --theme-statusReviewText: #f57f17;
  --theme-statusCompletedText: #388e3c;

  /* 风险等级 */
  --riskLow: #4caf50;
  --riskMedium: #ff9800;
  --riskHigh: #f44336;
  /* element-ui */
  --el-color-primary: var(--theme-primary);
  --el-color-primary-light-3: var(--theme-primary-light);
  --el-border-radius-base: 0.375rem;
  --el-pagination-border-radius: 0.375rem;
  --el-dialog-content-font-size: 16px;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  /* min-width: 320px; */
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.card {
  padding: 2em;
}

#app {
  /* max-width: 1280px; */
  width: 100vw;
  height: 100vh;
  margin: 0 auto;
  /* padding: 2rem; */
  text-align: center;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}
